Skip to content

add email re and hd re#173

Merged
jph00 merged 1 commit intomainfrom
emailre
Mar 20, 2026
Merged

add email re and hd re#173
jph00 merged 1 commit intomainfrom
emailre

Conversation

@johnowhitaker
Copy link
Copy Markdown
Contributor

Additional params for solveit auth

@johnowhitaker
Copy link
Copy Markdown
Contributor Author

Testing with this and https://github.com/AnswerDotAI/solve-lp/pull/277, it lets me log in with my aai email and not my gmail.

@rt
def index(): return Titled('Auth Test', A('Sign In with Google', href=solve_signin_rt, cls='button'))

@rt
def signin_completed(session, signin_reply: str=''):
    try:
        session['auth'] = sub_from_signin(session, signin_reply)
        return Titled('Signed In!', Pre('Sub ID: ' + session['auth']))
    except Exception as e:
        return Titled('Sign In Error', Pre(str(e)))

@jph00 jph00 marked this pull request as ready for review March 20, 2026 20:39
@jph00 jph00 merged commit 6b1c351 into main Mar 20, 2026
@jph00 jph00 added the enhancement New feature or request label Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants