Using mobile access token for authentication
chan4lk opened this issue · 2 comments
chan4lk commented
I have a mobile app which gets token directly from azure login. And I have a service which is using adal4j in spring boot. I cannot use the mobile generated token to authenticate spring service. Becase I use two different azure app registrations for mobile and web service. Is there a way to accomplish this ?
sangonzal commented
@chan4lk Have you tried using on On-Behalf-Of flow? Here is some documentation that you might find useful: ADAL4J Wiki and Microsoft Docs
chan4lk commented
I added web registration as a required api inside mobile app registration. And the token generated from mobile is now accepted in adal4j. Thank you.