-
Notifications
You must be signed in to change notification settings - Fork 973
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure Active Directory: Updating default auth request for acquireTokenSilent #1703
Azure Active Directory: Updating default auth request for acquireTokenSilent #1703
Conversation
This looks good to me 👍 |
No behavior changes here, just internal clarification. So nothing for the changelog. |
@@ -16,8 +16,8 @@ export const azureActiveDirectory = ( | |||
logout: (options?) => client.logout(options), | |||
signup: async (options?) => await client.loginPopup(options), | |||
getToken: async (options?: any) => { | |||
const renewIdTokenRequest = options || { | |||
scopes: [process.env.AZURE_ACTIVE_DIRECTORY_CLIENT_ID], | |||
const authRequest = options || { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jeliasson I see that getToken
is being executed from the AuthProvider.tsx
without the option to pass any arguments to it, may I know how do I pass in the options
argument for the getToken
function from my Redwood app? Thank you 🙏
PR updates Azure Active Directory default AuthRequest's
scopes
when trying to silently acquire a tokenRelated docs
See resolved discussions
https://github.com/redwoodjs/redwoodjs.com/pull/534