Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ADLoginView.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export default class ADLoginView extends React.Component {
if(context !== null) {
let result = `${authUrl}?response_type=code` +
`&client_id=${context.getConfig().client_id}` +
(redirect ? `&redirect_url=${context.getConfig().redirect_uri}&nonce=rnad-${Date.now()}` : '')
(redirect ? `&redirect_uri=${context.getConfig().redirect_uri}&nonce=rnad-${Date.now()}` : '')
if(this._needRedirect)
result = `https://login.windows.net/${this.props.context.getConfig().client_id}/oauth2/logout`
return result
Expand Down
2 changes: 1 addition & 1 deletion src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class LandingView extends React.Component {
this.AzureADContext = {
client_id : CLIENT_ID,
// Optional
redirectUrl : 'http://localhost:8080',
redirect_uri : 'http://localhost:8080',
// Optional
authority_host : 'https://login.microsoftonline.com/common/oauth2/authorize',
// Optional
Expand Down