Is it possible to force the user to login again when using oauth 2 (implicit grant)

Hi,
I'm trying to build an application based on a rest webservice in APEX which is being accessed by a javascript frontend via ORDS. I'm using the "Implicit grant" flow of OAUTH 2.
When the user is finished with the application, he/she should be able to logout of the application, so another user can login (on the same machine and browser). But, without clearing all cookies, ORDS will automatically give an access token for the previous user, without showing the login screen to allow/deby access to the rest web service.
(Clearing the cookies is not possible via javascript, since they are httponly)
I know it is not the "normal" way to use oauth2, but I would like to be able to log-out a user. So how can I force ORDS to show the loginscreen again to give another user the possibility to login?
Alexander

You can force the implicit code flow to prompt the user to sign in by including _auth_=force in the approval request query string. To follow the example shown in the developer guide [1]
change:
https://server:port/ords/resteasy/oauth2/auth?response_type=token&client_id=CLIENT_IDENTIFIER&state=STATE
to:
https://server:port/ords/resteasy/oauth2/auth?response_type=token&client_id=CLIENT_IDENTIFIER&state=STATE&_auth_=force
[1]: REST Data Services Developers Guide

Similar Messages

  • Accessing an application without forcing the user to login

    I'm a new guy, so please forgive me if I don't have this quite right. I have an inquiry OAF application bolted on to apps R12 that I need to make available to users that do not have user IDs. They're all inside the firewall, so there are no issues with security as long as they can only access this single inquiry. Do I need to mount a separate OC4J server, or can this be done somehow with the existing apps OC4j server? Maybe based on the referring page or something? Can someone point me to anything that will get me started with this? Thanks.

    I found this topic in the forum which helps...
    How to make a seeded page in EBS bookmarkable
    I think it should work but let me check it out

  • Is it possible to reduce the number of HTTP calls when using a ReportViewer control?

    My application is written in .Net 4 using Visual Studio 2010 (version 10 of the ReportViewer control). The report in question contains a lot of data in the dropdowns used for parameter selection. For example, one dropdown contains 95k options and another
    uses 24k options (I know this is bad design, but we need to keep it as-is for this release). When I use Fiddler to profile the report, I see that it makes a lot of HTTP calls and a majority return the same dataset. There are three phases of loading data. Each
    one initiates a series of HTTP calls.
    Loading the initial header with the filter controls (dropdowns, textboxes, etc).
    Changing one of the dropdowns that has a dependent dropdown (start date/end date)
    Loading the final report after clicking the View Report button
    In total, 13 HTTP calls are made and 10 of those are returning the same 10MB of data. The final report only returns 13 records, but the whole process of loading the report filters, changing report filters and loading the report require 130MB of data to be
    exchanged. This is an extreme example, but we do have other reports that are doing the same with smaller amounts of data.
    My question: is there any way to modify the ReportViewer or the SSRS server to reduce the number of calls? Is this related to ViewState? Please understand that I am new to Reporting Services and have a lot to learn.

    Hi rodeofive,
    As per my understanding, the issue is a performance issue. And it is caused by there are thousands of values in the drop-down list of parameters in the report.
    To work around this issue, I suggest you should make some changes in the report. For example, we can add additional two parameters with multiple keywords ahead, one for the dropdown contains 95k options, another for dropdown contains 24k options. Then all
    of available values which are begin with the keywords will display in the parameter list. In this scenario, we can create cascading parameters. One is a keyword parameter, and the other parameter is the drop-down list that based on the keyword to display the
    available values.
    For more details about the method, please refer to the following FAQ:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/8de6c783-9cb4-4b95-9be8-b59bc0049866/forum-faqhow-do-i-add-a-search-feature-in-the-parameter-with-long-drop-down-list?forum=sqlreportingservices#8de6c783-9cb4-4b95-9be8-b59bc0049866
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Is that possible to display the user selection data in the printable page?

    Hi All,
    I'm going to add a printablepage button on my page.
    Here comes a questions.
    Is that possible to display the user selection data in the printable page?
    For example,
    I have a table in the page,with 10 records.User select 5 of them.Can I display these 5 records in the printable page?
    Please help.

    Hi Yannick,
    Thanks a lot for the information. It worked.
    The portlet data can be accessible using bindings, but parameter name can be different.
    Meanwhile I have got one more scenario, where the Portlet and Task Flow placed in different pages of WCP Application. On change of data in the Portlet the application should navigate to another page where the Task Flow placed and displays selected data.
    Basically I can not use any button for navigation. The navigation should happen once I do some action in Portlet.
    Is this possible? If yes can you please let me know the steps?
    Thanks in advance!
    Somnath
    Edited by: Somnath Basak on Dec 20, 2011 9:41 AM

  • Is it possible to allow the user to highlight specific label in the GUI.

    i have an existing GUI tt allows user to key in records of information eg, patient records in a hospital system.
    and display them based on wat the user key in for the patient's id no:
    is it possible to allow the user to highlight label in the GUI.
    Label as in information like Illness:<Red>Cancer<Red>
    for tt customer only.
    and re open the file to have the color still there.
    i serialized my vector of objects into a file, and have the gui to retrieve them upon execution.
    color wise i m lost.
    one solution is to have a corresponding Color attribute to each of my other attribute in all my other classes.
    besides this, any idea how to do it?
    i also did a search on java map..
    couldn't really find sth useful abt it..
    seems like few ppl know how to use it well..
    API doesn't seems to show how i can use it to reach my objective.
    anyway, i hope the user can highlight A attribute of a record and not highlight the entire record..
    tt's why i find it soo cumbersome to have another Color object created for each atttribute.
    eg:
    patientId, patientName, etc.....
    thanks in advance

    Several Swing components understand HTML tags, eg JLabel, which is VERY useful, as in the previous example.
    Are you asking "how do I highlight a field" or "how do I make it remember the color it has"?
    As Color is itself Serializable, why not store your data in a Hashtable not a Vector?

  • Is it possible to change the user status of a TECO Order

    Hello Folks
    Is it possible to changes the user status of a TECO Order?
    I have tried to change it using the FM 'STATUS_CHANGE_EXTERN'. Its working fine for NON TECO Orders but not for TECO Orders.
    On the other hand I was able to manually change the user status for a TECO Order in transaction IW32.
    I need to change the user status from NFBK to FBK.
    Please provide some inputs for the same.
    Thanks n Regards
    Ramesh

    The simple way is via the Internationalization settings via ARD or RDP or Screen Sharing, either via System Preferences or (if enabled) via the menu bar. If you're looking for a lower-level approach, there's not AFAIK a direct command for this. As for one possible approach, might [threadID=2106201|http://discussions.apple.com/thread.jspa?threadID=2106201] help?

  • Is it possible to restrict the user from creating a sibling and allow him to ONLY create child nodes in DRM?

    When in a hierarchy, a user right clicks on a node to crate a new node, he has two options
    -Child
    -Sibling
    Is it possible to restrict the user from creating a sibling and allow him to ONLY create child nodes?
    Business cases:
    1. different level nodes need to have different prefixes.
    - Thus, the default prefix property definition uses the level number to assign a prefix
    - Also, a validation, to ensure the correct prefix, uses the level number
    But if the user can create a child and a sibling then the default prefix will only be right for a single case and not both.
    Thanks

    If the images are exactly the same size then make sure the layer with the mask
    is the active layer and in the other documents go to Select>Load Selection and choose
    your document with the layer mask under Source document and under channel choose the layer mask.
    After the selection loads press the layer mask icon at the bottom of the layers panel.
    MTSTUNER

  • I recently lost my iphone 4 and have an iphone3 on loan until I get upgrade in Aug.  I want to sync my data - contacts most important  - from my itunes account...is this possible?  Is it possible to change the user ID on the borrowed phone to my ID?

    I recently lost my iphone 4 and have an iphone3 on loan until I get upgrade in Aug.  I want to sync my data - contacts most important  - from my itunes account...is this possible?  Is it possible to change the user ID on the borrowed phone to my ID?

    There are no contacts in itunes.
    Your contact should be on your computer in whatever program you have selected to sync.  Just sync them to the new one.
    Click Support at the top of this page, then click manuals
    Changing the itunes account on nthe iphone is covered there as is restoring the iphone as new or from backup.

  • How to force the user to enter a value in the prompt

    Is there a way to force the user to enter a value in the prompt before they run the report?
    We have a customer specific dashbaord. The user has to enter a customer number in Dashbaord prompt on a first page of the dashboard. We store that value in a presentation variable. That presenatation variable value is being referenced in all the other pages of the dashabord. If the user does not enter a values in the first page and directly navigates to the other pages on the dashbaord, the reports on the other pages start to run for all the customers. Is there a way to force the customer to enter a value in the prompt before running any of the reports on the dashboard?
    Thanks!

    by Answer prompts, do you mean Column prompt?
    I can not use Column prompt in this senario as the user should not have to enter the same customer number over and over again when he navigates from one page to another on the same dashboards. If there is a way to default the column prompts then this would be an acceptable solution.
    I have already defaulted the prompt to a value as suggested in hte blog, but the issues occurs when the user erases the defaulted value. Is there are way to set the default value within the report?
    Can you please explaing mroe about option 3 regarding Java Script. Also please let me know what other options there are so that I can check whether they will fit my needs.
    Thank you very much!

  • Forcing the user to select one of the OBIEE prompts?

    Hi All,
    Iam new to OBIEE I have a requirment in which I need to force the user to select one of the selection from prompts in OBIEE eg: you need to select one of the contry either India or America to get the other prompts enable and filter the report?
    Any help is highly appriciated.

    Hi,
    You can set a default value in your first dashboard prompt like 'please select a country' then if the user doesn't select something no result will be returned until he selects a valid value
    Then make the other dashboard prompts constrained.
    Regards
    Adil

  • Forcing the user to save before submit.

    Hi,
    I need to force the user to save the form before submit.
    How can I do that ? Please help.

    Hi,
    You can use the dirty flag. If your users have Acrobat/Reader 9.1 or above then you could also use the cancelAction method (however this is a bit flaky in I think version 10.0).
    For example, in the button's preSubmit event:
    if (event.target.dirty == true) {
         xfa.event.cancelAction = true;
    You would also want to include a beep and/or messageBox warning to the user.
    Hope that helps,
    Niall

  • Is it possible to limit the user to one session?

    Hi
    We have Oracle apps R 12.0.6, single node installation. Because of performance issues, i want to restrict the user to have only one session. Is it possible to limit the user to one session?
    Regards
    Arizuddin

    Ateeq,
    I tried to load the event and subscription according to metalink document id
    About the oracle.apps.icx.security.session.created business event. [ID 304209.1]. it says file does not exist.How to resolve this?Could you please post the command along with the complete error?
    Regards,
    Hussein

  • I have an iphone 3gs, i bought it with the carrier Orange in Mauritius and i would like to know if it is possible to unlock the iphone so that i can use another carrier.

    i have an iphone 3gs, i bought it with the carrier Orange in Mauritius and i would like to know if it is possible to unlock the iphone so that i can use another carrier. thanks

    Only the carrier can authorise unlocking. You need to contact them.

  • Chat App: how to store the user IP in database when they login.

    hello,
    i am working on chat application. first i made a login GUI form. after login when we run the Chat program, it ask the ip address of the server to whom it want to connect. and if u enter the ip address, it will connect to the server and chat will begin, thats working perfect.
    but i want to show the list of users who r logged on and when i simply click on the user name, chat should begin.
    i have the logic that when any user log in, then its IP address will be stored in the database. this ip address will shown to the online users.
    but i dont know how to store the user information in database when they log in. can any body suggest me wht lines of code i should use.
    thanks.

    palakk wrote:
    i have the logic that when any user log in, then its IP address will be stored in the database. Bad approach. That will only work if this chat is only intended for use on a LAN. If it's used on the internet, then your users' IP addresses will almost always be either a) those of their routers, or b) private IP addresses, and in both cases, multiple users can have the same IP address.
    this ip address will shown to the online users. Why would you want to do that? I want to chat with "Bill", not with "1.2.3.4".
    but i dont know how to store the user information in database when they log in.Do the same thing that you're currently doing to store the IP address, but with the other information you want to store.
    can any body suggest me wht lines of code i should use. This is not a code writing service.

  • Is it possible to extract the contents of any PDF file using Adobe PDF SDK?

    Is it possible to extract the contents of any PDF file using Adobe PDF SDK?
    For Example: There is one pdf file. Let us say xxx.pdf with 32 pages. I am interested in only in a topic present at 10th page. Can I extract this information and save it into another pdf file (means new pdf file)?

    Thanks Irosenth,
    I am actually interested in extract the page and create a new PDF with that page. But still there is a catch that on which basis the page needs to extract either on PAGE number OR on Bookmark basis.
    But here in this scenario assume I am looking for the PDF file, now I want to save only page 5. How can I extract page 5 automatically/programmatuically? Or in simple word how can I get the reference link of page 5?
    Here I am not getting clear picture that Do I need both SDK Adobe & Acrobat to achieve this requirement. And more over you have mentioned that SDK itself is free. But on Adobe side it is mentioned that it is available by license only with this I have another doubt: To work my desktop/system application with Adobe PDF library, this library needs to distribute with the application. So in this case will it be chargeable for each and every deployment.
    Could you please provide me the link from where I can download the SDK? So that I can do some excerise with SDK to figure out the exact flow of functionality to work with my application.

Maybe you are looking for

  • Help with job scheduling; decode error

    Hi Iam trying to change a job that runs my procedure using dbms_job.. Here is the output I got. Can someone help me why this is giving me errors. <code> SQL> exec dbms_job.next_date(395,decode(sign(substr(to_char(sysdate,'dd/mm/yy hh24:mi'),10,2)-17)

  • Joboptions in Acrobat X Standard

    Hello.  I am using Acrobat X Standard on a Windows 8 machine.  I wish to make and use a customised joboption (as accessed through Edit/Preferences) for when I convert a WORD 2010 document to pdf, with a particular page size and resolution.  I can see

  • Problem with using Photoshop Elements as external editor

    I am currently trying out Lightroom 4 prior to (maybe) buying it. I have set PhotoshopElementsEditor.exe as my external editor preference, but when I try to use it, I get the following eror message:- Unexpected error performing command; bad argument

  • ABAP Coding in Endroutine

    Hello Gruru's I have some questions. I load from a DSO into a itab in my endroutine. Now I want to count the Key's in this itab. How can I do this ? Exampl: KEY1       KEY2 4711         ABC 4711         ZZZ 4711         BBB Need Count the KEY1 KEY1  

  • Since downloading mountain lion we are having trouble getting on the internet

    since downloading mountain lion we are having trouble getting on the internet