Code Monkey home page Code Monkey logo

Comments (9)

bistline avatar bistline commented on June 11, 2024

You need to log in first with that account to create the record. The documentation for admin accounts says 'Create a user account normally through the UI (using sign-up or Google auth features)', which is a little vague. Just boot the portal and sign in with the user account you wanted to make an admin.

from single_cell_portal_core.

chees01 avatar chees01 commented on June 11, 2024

Getting Error: redirect_uri_mismatch.
image

Here is what I have in Credentials
image

I have tried the following, none of them works...
https://ndhsinnl145.pharma.aventis.com/single_cell/oauth2callback
https://ndhsinnl145.pharma.aventis.com/oauth2callback
https://ndhsinnl145.pharma.aventis.com/single_cell

Thanks for your help,
Esther

from single_cell_portal_core.

bistline avatar bistline commented on June 11, 2024

If you read the SCP documentation under OAuth Credentials, you'll see the correct form for the redirect URI. I would urge you to read the 'DEPLOYING A PRIVATE INSTANCE' section thoroughly before continuing.

from single_cell_portal_core.

chees01 avatar chees01 commented on June 11, 2024

from single_cell_portal_core.

bistline avatar bistline commented on June 11, 2024

No problem. That section was added recently as other developers who were standing up private instances had a lot of issues due to the order of operations in which certain things needed to happen. If you find something missing or incorrect, please let me know.

from single_cell_portal_core.

bgriffen avatar bgriffen commented on June 11, 2024

My issue relates to the above @bistline comment about the URI redirect.... At the below step of setting up a private instance:

For 'Authorized Javascript Origins', enter the following:
* https://(your hostname)/single_cell

...I have done exactly that (except using my hostname) but get prompted with the error:

Invalid Origin: URIs must not contain a path or end with "/".

The offending character is the "/" between .com and single_cell. How did everyone else proceed past this step since every other private instance would also encounter this issue?

from single_cell_portal_core.

jlchang avatar jlchang commented on June 11, 2024

Hi @bgriffen,

Very exciting to hear that you're setting up a private instance! The short (incomplete) answer is to use %2F in lieu of the slash character.

You may want to use a library that will automate such URL encoding tasks. For more details about URL Encoding, see https://www.w3schools.com/tags/ref_urlencode.asp

Please note that Single Cell Portal staff regularly monitors questions submitted via [email protected]. I recommend that you submit any follow-on questions through that channel to ensure that we receive your inquiries in a timely manner.

Regards,
Jean

Single Cell Portal team

from single_cell_portal_core.

bgriffen avatar bgriffen commented on June 11, 2024

Unfornately, that does not work either. Same error, with URL encoding as well. I'll send this follow-on question to that email address but wanted to put that here for those coming to this repo downstream.

Screen Shot 2022-09-20 at 10 30 30 am

Screen Shot 2022-09-20 at 10 32 08 am

from single_cell_portal_core.

bistline avatar bistline commented on June 11, 2024

@bgriffen

Apologies - for JavaScript origins, only the domain should to be entered, such as https://your-domain.com or https://www.your-domain.com. It appears our README is incorrect in this section. I'll open up a PR to get that corrected. Sorry!

Jon
Single Cell Portal Team

from single_cell_portal_core.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.