Skip to content

Generate authorize URL without calling it#131

Closed
CDyWeb wants to merge 5 commits intoauth0:masterfrom
CDyWeb:master
Closed

Generate authorize URL without calling it#131
CDyWeb wants to merge 5 commits intoauth0:masterfrom
CDyWeb:master

Conversation

@CDyWeb
Copy link
Copy Markdown

@CDyWeb CDyWeb commented Oct 4, 2018

#119
#Hacktoberfest

Copy link
Copy Markdown
Contributor

@joshcanhelp joshcanhelp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution here!

def __init__(self, domain):
self.domain = domain

def get_authorize_url(self, client_id, audience=None, state=None, redirect_uri=None,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you're going to create a method like this, it would make more sense to call it in authorize below instead of having the logic in two places.

'state': state,
'redirect_uri': redirect_uri
}
query = urlencode(params, doseq=True, quote_via=quote_via) \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you provide a bit of explanation on why this is necessary?

@joshcanhelp
Copy link
Copy Markdown
Contributor

@CDyWeb - I still like what you're doing here but we still need some work before we can get this in. It's still eligible for Hacktoberfest if we can merge it in soon but we'll need your response and fixes.

@joshcanhelp
Copy link
Copy Markdown
Contributor

Closed, no response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants